package ru.cannabis.command.response.base;

public class JSONResponse {

	private String to;

	private boolean result = false;

	private String error;

	public JSONResponse() {
		this("internal");
	}

	public JSONResponse(String to) {
		this.to = to;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}
}
